﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ElectronicCommerce.Framework.Payment.Contract.DataContract.Common
{
    /// <summary>
    /// 支付方式
    /// </summary>   
    [System.Runtime.Serialization.DataContract()]
    public class PaymentMethod
    {
        /// <summary>
        /// 代码
        /// </summary>
        [DataMember()]
        public string Code { get; set; }

        /// <summary>
        /// 支付名称
        /// </summary>
        [DataMember()]
        public string Name { get; set; }

        /// <summary>
        /// 支付描述 
        /// </summary>
        [DataMember()]
        public string Description { get; set; }

        /// <summary>
        /// 支付率
        /// </summary>
        [DataMember()]
        public decimal PayRate { get; set; }

        /// <summary>
        /// 是在线支付
        /// </summary>
        [DataMember()]
        public bool IsOnlinePay { get; set; }

        /// <summary>
        /// 激活与否
        /// </summary>
        [DataMember()]
        public bool IsActive { get; set; }
    }
}
